package styledaco.servlet;

import java.io.IOException;

import javax.servlet.RequestDispatcher;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.apache.log4j.Logger;

import comm.util.RequestManager;
import comm.util.SoptHashMap;

public class DacoServlet extends HttpServlet {
	/**
	 * 
	 */
	private static final long serialVersionUID = 9148948623656681900L;
	private Logger logger = Logger.getLogger(DacoServlet.class);
	
	@Override
	protected void service(HttpServletRequest request, HttpServletResponse response)
			throws ServletException, IOException {
		// TODO Auto-generated method stub
		SoptHashMap hm = RequestManager.getRequest(request);
		logger.debug("@@@@@@@@@@@@@@@222222222222");
		logger.debug(hm.toString());
		logger.debug(request.getServletPath());
		RequestDispatcher dispatcher = getServletConfig().getServletContext().getRequestDispatcher("/?m=Community");
		dispatcher.forward(request, response);
	}
}
